﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RBAC.Domain.OutboundManage
{
    /// <summary>
    /// 销售出库
    /// </summary>
    [Table("SalesOutbound")]
    public class SalesOutbound:BaseEntity
    {
        /// <summary>
        /// 单据编码
        /// </summary>
        public string? OrderCode { get; set; } 

        /// <summary>
        /// 单据类型：出库单
        /// </summary>
        public string? OrderType { get; set; }

        /// <summary>
        /// 业务类型：销售出库
        /// </summary>
        public string? BusinessType { get; set; }

        /// <summary>
        /// 期间
        /// </summary>
        public string? Period { get; set; }

        /// <summary>
        /// 客户编码
        /// </summary>
        public string? CustomerCode { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
        public string? CustomerName { get; set; }

        /// <summary>
        /// 单据日期
        /// </summary>
        public DateTime? OrderDate { get; set; }

        /// <summary>
        /// 业务状态：正常
        /// </summary>
        public string? BusinessStatus { get; set; }

        /// <summary>
        /// 仓库：成品仓
        /// </summary>
        public string? Warehouse { get; set; }

        /// <summary>
        /// 单据状态：开立
        /// </summary>
        public string? OrderStatus { get; set; }

        /// <summary>
        /// 发货单号
        /// </summary>
        public string? DeliveryNo { get; set; }

        /// <summary>
        /// 发货类型
        /// </summary>
        public string? DeliveryType { get; set; }

        /// <summary>
        /// 业务部门
        /// </summary>
        public string? BusinessDept { get; set; }

        /// <summary>
        /// 业务人员
        /// </summary>
        public string? BusinessPerson { get; set; }

        /// <summary>
        /// 备注信息
        /// </summary>
        public string? Remark { get; set; }
    }
}
